<!--
 * @Author: daidai
 * @Date: 2022-01-12 14:23:32
 * @LastEditors: Please set LastEditors
 * @LastEditTime: 2022-09-09 14:47:24
 * @FilePath: \web-pc\src\pages\big-screen\view\home.vue
-->
<template>
    <!-- <div id="index" ref="appRef" class="index_home" :class="{ pageisScale: isScale }"> -->
    <ScaleScreen :width="1920" :height="1080" class="scale-wrap">
        <div class="bg">
            <div class="host-body">
                <!-- 头部 s -->
                <div class="d-flex jc-center title_wrap">
                    <div class="zuojuxing"></div>
                    <div class="youjuxing"></div>
                    <div class="guang"></div>
                    <div class="d-flex jc-center">
                        <div class="title">
                            <span class="title-text">AI图警</span>
                        </div>
                    </div>
                    <div class="timers">
                    </div>
                </div>
            </div>
            <div class="back">
                <div class="main">
                    <div class="top">
                        <div class="part" @click="toMap">
                            <img src="../../../static/1.png" alt="" />
                        </div>
                        <div class="part">
                            <img src="../../../static/3.png" alt="" />
                        </div>
                        <div class="part">
                            <img src="../../../static/2.png" alt="" />
                        </div>
                    </div>
                    <div class="bottom">AI 图 警</div>
                </div>
            </div>
        </div>
    </ScaleScreen>
    <!-- </div> -->
</template>

<script>
import ScaleScreen from "@/components/scale-screen/scale-screen.vue";
export default {
    components: { ScaleScreen },
    data() {
        return{}
    },
    filters: {
        
    },
    computed: {},
    created() { },
    mounted() {
    },
    beforeDestroy() {
    },
    methods: {
        toMap() {
            this.$router.push({
                path: "/home",
            });
        },
    },
};
</script>

<style lang="scss">
@import "../home.scss";

.back {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

.main {
    position: absolute;
    width: 800px;
    height: 400px;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    background: white;

    .top {
        overflow: hidden;
        height: 80%;

        .part {
            height: 100%;
            width: 31.33%;
            float: left;
            cursor: pointer;

            img {
                height: 100%;
            }
        }
    }

    .bottom {
        background: #6bacda;
        color: white;
        text-align: center;
        font-size: 30px;
        font-weight: bolder;
        height: 100px;
        line-height: 100px;
        margin-top: 10px;
    }
}
</style>
